package jsu.xxy.coffee3.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import jsu.xxy.coffee3.domain.Comments;
import com.baomidou.mybatisplus.extension.service.IService;
import jsu.xxy.coffee3.domain.com_score;

/**
* @author 张从轩
* @description 针对表【comments】的数据库操作Service
* @createDate 2024-01-02 17:05:12
*/
public interface CommentsService extends IService<Comments> {

    boolean addComment(int orderid, String comment, double score, String userName);

    com_score getAllComments();


    Page<Comments> getCommentsByGBK(String  com, String key, Integer pageNo, Integer pageSize);

    Page<Comments> getAllCommentsPage(Integer pageNo, Integer pageSize);
}
